#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#

import subprocess
import shlex

# c = subprocess.call("cd ..", shell=True)
# print(c)


# command_line = 'dmidecode -t processor | grep Version | head -n 1 | awk -F: "{print $2}"'
# args = shlex.split(command_line)
# print(args)

check = subprocess.Popen(["ping", "www.baidu.com"])
# print("我先开始yep")
print(check.__dict__)